package com.itheima.Mapper;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserMapper {
    List<User> selectAll();
    User selectById(int id);
    User selectByP(@Param("userName") String userName, @Param("gender2") String gender2, @Param("address") String address);

    void Insert(@Param("username") String username, @Param("password") String password, @Param("gender") String gender, @Param("addr") String addr);

}
